package com.rc.evcharger.service.tenant;

import com.rc.evcharger.common.base.BaseService;
import com.rc.evcharger.mapper.tenant.TenantSettingMapper;
import com.rc.evcharger.model.tenant.TenantSetting;
import com.rc.evcharger.model.tenant.TenantSettingExample;

import java.math.BigDecimal;

/**
 * Created by Sven on 2021/03/03
 */
public interface TenantSettingService extends BaseService<String, TenantSetting, TenantSettingExample, TenantSettingMapper> {
    /**
     * 单充启动余额检查
     * @return
     */
    BigDecimal query_start_charge_account_limit(String tenantCode);

    /**
     * 余额不足停止金额
     * @return
     */
    BigDecimal query_stop_charge_account_limit(String tenantCode);

    /**
     * 一号多充金额设置
     * @return
     */
    BigDecimal query_mult_charge_account_limit(String tenantCode);

    /**
     * 运营商soc开关
     * @return
     */
    boolean query_open_charge_limit_soc(String tenantCode,int type);
}
